package com.study.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author chenyeqing
 * @date 2021/11/25 22:24
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "Role对象", description = "角色信息")
public class Role {

    @ApiModelProperty(dataType = "integer", value = "角色ID")
    private String id;
    @ApiModelProperty(dataType = "string", required = true, value = "角色名称")
    private String name;
    @ApiModelProperty(dataType = "string", value = "角色描述信息")
    private String desc;
}
